package com.bestsoft.flow.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bestsoft.common.annotation.Excel;
import com.bestsoft.common.core.domain.BaseEntity;

/**
 * 用户商品关系对象 flow_user_goods
 * 
 * @author 崔健
 * @date 2023-07-11
 */
public class FlowUserGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户商品ID */
    private Long usergoodsid;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 商品编号 */
    @Excel(name = "用户名称")
    private String userName;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long goodsid;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private String goodscode;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsname;

    /** 商品规格 */
    @Excel(name = "商品规格")
    private String goodsspec;

    /** 生产厂家 */
    @Excel(name = "生产厂家")
    private String manufacturer;

    /** 商品产地 */
    @Excel(name = "商品产地")
    private String place;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    public Long getUsergoodsid() {
        return usergoodsid;
    }

    public void setUsergoodsid(Long usergoodsid) {
        this.usergoodsid = usergoodsid;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(Long goodsid) {
        this.goodsid = goodsid;
    }

    public String getGoodscode() {
        return goodscode;
    }

    public void setGoodscode(String goodscode) {
        this.goodscode = goodscode;
    }

    public String getGoodsname() {
        return goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.goodsname = goodsname;
    }

    public String getGoodsspec() {
        return goodsspec;
    }

    public void setGoodsspec(String goodsspec) {
        this.goodsspec = goodsspec;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    @Override
    public String toString() {
        return "FlowUserGoods{" +
                "usergoodsid=" + usergoodsid +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", goodsid=" + goodsid +
                ", goodscode='" + goodscode + '\'' +
                ", goodsname='" + goodsname + '\'' +
                ", goodsspec='" + goodsspec + '\'' +
                ", manufacturer='" + manufacturer + '\'' +
                ", place='" + place + '\'' +
                ", unit='" + unit + '\'' +
                '}';
    }
}
